<?php

namespace app\common\service\pay\wechat;

use app\common\service\pay\PayInterface;
use think\facade\Log;

class H5 extends WechatBase
{
    public $trade_type = 'MWEB';


    public function pay()
    {

        $pay = parent::pay();

        $redirectUrl = getRedirectUrl();

        $redirectUrl = '&redirect_url=' . $redirectUrl;

        $pay['mweb_url'] = $pay['mweb_url'] . $redirectUrl;

        return $pay;

    }

}